home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 034a / zdcs165.zip / ZDCSWALK.TXT < prev   
Text File  |  1991-12-31  |  30KB  |  673 lines

  1.           Zipfile Duplicate Checking System (ZDCS)  Ver. 1.65
  2.                  Copyright (C) 1991,  Michael W. Cocke
  3. ----------------------------------------------------------------------
  4.  
  5.  
  6.   A Walk-Through Guide for Installing and Using ZDCS on a PCBoard BBS
  7.  
  8.  
  9.  
  10. TABLE OF CONTENTS
  11. -----------------
  12.  
  13. HELLO!..........................................................1
  14. OVERVIEW OF ZDCS................................................2
  15. ZDCS OPTIONS....................................................3
  16.      Deleting Duplicate Files...................................3
  17.      Allowed Dupicates..........................................3
  18.      BBS Ads....................................................4
  19.      Pre-Testing................................................4
  20. INSTALLATION....................................................4
  21. STEP 1 - Set up the config file.................................5
  22.           Line 1................................................5
  23.           Line 2................................................5
  24.           Line 3................................................5
  25.           Line 4................................................5
  26.           Line 5................................................6
  27.           Line 6................................................6
  28.           Line 7................................................6
  29.           Line 8................................................6
  30. STEP 2 - Create the initial database............................7
  31. STEP 3 - Create the bbs ads database............................8
  32. STEP 4 - Create the list of allowed duplicates..................9
  33. STEP 5 - Set up the upload file check...........................9
  34. PRE-TESTING....................................................11
  35. THAT'S ALL, FOLKS!.............................................12
  36.  
  37.  
  38.  
  39. HELLO!
  40. ------
  41.  
  42. ZDCS is a shareware set of utilities intended to help a PCBoard sysop
  43. deal with the problem of duplicate files, whether those files are
  44. already on the bbs or are being uploaded by a caller.  It provides
  45. specific support for looking inside zipfiles (including PKZIP version
  46. 1.93) and self-extracting files made with PKZIP (*.SFX).  Since ZIP
  47. files are by far more common that SFX files, and since they are both
  48. treated the same way by ZDCS, we'll use the term "zipfile" to refer to
  49. both of them.
  50.  
  51. ZDCS also provides support for accepting unzipped GIFs.  ZDCS thinks
  52. of such a GIF file as a poor zipfile with only one file in it.  You'll
  53. find more detailed information on GIF files and others in the
  54. reference manual, ZDCS-REF.TXT.
  55.  
  56. This walk-through will guide you in getting ZDCS up and running on
  57. your bbs.  The reference manual, ZDCS-REF.TXT, has more detail on all
  58. sorts of things (probably more than you will want or need), but it's
  59. arranged to be the sort of file where you look things up when you want
  60. more information, not something you read all the way through.  On the
  61. other hand, this walk-through is a friendly guide that will take you
  62. by the hand and show you how easy it is to install ZDCS.
  63.  
  64. Don't be put off by the length of this file.  ZDCS is quite simple to
  65. install.  We've added lots of extra words to explain the process and
  66. your choices for how you want to run ZDCS.
  67.  
  68.  
  69.  
  70. OVERVIEW OF ZDCS
  71. ----------------
  72.  
  73. There are two basic functional parts to ZDCS:  checking an existing
  74. collection of files for duplicates, and checking newcomer files
  75. against the existing collection.  It's set up this way to permit use
  76. on a dynamic collection like a bbs file system, but it can also be
  77. used to look for duplicates on other systems as well, such as a
  78. shareware CD-ROM or even multiple directories on your hard drive
  79. system.  However, the focus is on bbs systems and that's how the
  80. documentation is written.
  81.  
  82. To check an existing collection of files, you have to create a ZDCS
  83. database for that collection.  Then you can use the duplicate report
  84. generator to tell you which files are duplicates and where they are
  85. found.  A little housecleaning based on this report can weed out
  86. duplicates and recover hard drive storage space, something no one ever
  87. has enough of.
  88.  
  89. When new files are added to the collection, you need to be able to do
  90. two things with them:  add the files to the database, and find out if
  91. there are any duplicates among them.  The most common addition of new
  92. files is via uploads to the bbs.  ZDCS will enable you to process an
  93. upload as soon as it is received, and tells both you and your caller
  94. about duplicate files in that upload.  It can be set to accept or
  95. decline an upload based on the percentage of dupes it finds.  It also
  96. adds any new files to the ZDCS database to keep that up to date.
  97.  
  98. There's a bit more, of course.  ZDCS can be told to decline an upload,
  99. to automatically remove duplicate files, to delete those pesky little
  100. bbs ads from uploads, and to recognize "allowed duplicates" - or any
  101. combination of the above.  There's even a pre-test capability that
  102. lets callers find out ahead of time whether or not their intended
  103. upload duplicates files already on your board.
  104.  
  105. Installing ZDCS to work on your bbs is relatively simple.  The hardest
  106. part may be deciding which options you want to enable.  Let's look at
  107. those first.
  108.  
  109.  
  110.  
  111. ZDCS OPTIONS
  112. ------------
  113.  
  114. Running ZDCS without any of the extra options enabled gives you a
  115. basic duplicate checking system that will not delete any files
  116. automatically.  It will still tell you about all duplicate files, but
  117. it won't be able to distinguish between files you always want to
  118. delete (like bbs ads), files that duplicate exactly ones already on
  119. your board, and files that are duplicates but still important to keep
  120. (like VALIDATE.COM from Macafee's SCAN program).
  121.  
  122. You can try out the different options and change your mind about which
  123. ones you want to use without re-installing ZDCS.
  124.  
  125.  
  126. Deleting Duplicate Files
  127. ------------------------
  128.  
  129. When a new zipfile is uploaded to the board, ZDCS checks it against
  130. the existing database to see if there is any duplication of files.
  131. You can permit ZDCS to not only flag the duplicates but also to delete
  132. them from inside the zipfile, leaving the rest of the upload intact.
  133. This deletion feature does not operate on a GIF file.
  134.  
  135. This is a good time to point out one consequence of deleting all
  136. dupes.  Some shareware authors issue updates that consist of both new
  137. files (executables, perhaps) and unchanged files (registration
  138. information, maybe).  If you enable the deletion of all duplicate
  139. files in an uploaded zipfile, you can lose some of the files that
  140. belong in the author's package.  This brings us to the concept of
  141. allowed duplicates.
  142.  
  143.  
  144. Allowed Duplicates
  145. ------------------
  146.  
  147. You can choose to tell ZDCS that certain files are allowed duplicates.
  148. When you create a list of allowed duplicates, ZDCS knows not to treat
  149. these files as dupes no matter how often they appear.  You can add new
  150. files to the list or delete old ones with any text editor.
  151.  
  152. Why would you want to have allowed duplicates?  There are some files
  153. that reappear frequently as part of shareware or freeware packages,
  154. such as OMBUDSMN.ASP (found in ASP-ware), or VALIDATE.DOC and
  155. VALIDATE.COM (from Macafee's SCAN program).  Especially in a case like
  156. Macafee's where new versions of the program come out frequently, each
  157. with certain standard files included, it would be useful to
  158. "recognize" these duplicate files as being acceptable.
  159.  
  160. There are two places where enabling the allowed duplicates option
  161. makes a difference.  It prevents these files from being deleted if you
  162. have selected the option to delete duplicate files.  It also does not
  163. figure these files into the calculation for what percentage of an
  164. uploaded zipfile is duplicates.
  165.  
  166. This feature does work for GIF files.  If a GIF is included among the
  167. allowed duplicates, then a repeat upload of the same GIF will not be
  168. flagged as a duplicate, and the upload will be accepted.
  169.  
  170.  
  171. BBS Ads
  172. -------
  173.  
  174. There are some specific files that you may want to delete every time
  175. you run across them.  The prime example of this would be those rude
  176. and annoying bbs ads from you-know-who that a few boards feel it
  177. necessary to add to every zipfile they carry.  You might also have
  178. other problem files that you want to keep off your board, like some of
  179. the pyramid scheme get-rich-quick files that circulate from time to
  180. time.
  181.  
  182. You can tell ZDCS to recognize these nuisances by creating a bbs ads
  183. database.  (This is always referred to as the "bbs ads database" to
  184. distinguish it from the main ZDCS database, which is bigger and not
  185. the least bit optional.)  When you run the upload file checker, ZDCS
  186. will flag any files it finds that match the ones listed in the bbs ads
  187. database.  If you want to do more that just flag these pests, you can
  188. also tell ZDCS to delete all bbs ads automatically.  Of course, you
  189. can include new bbs ads as they are perpetrated.
  190.  
  191. This option is completely independent of the option to delete
  192. duplicate files, so you don't take a chance on removing authors'
  193. unchanged files from newer shareware versions.  The bbs ads option
  194. does not operate on a GIF file.
  195.  
  196.  
  197. Pre-Testing
  198. -----------
  199.  
  200. You can decide whenever you like to allow or disallow pre-testing.
  201. Since it's very easy to enable and won't affect the installation of
  202. ZDCS at all, we've covered it in a separate section at the end of this
  203. walk-through.  After you've gotten ZDCS installed on your bbs, you can
  204. take your time about making the decision to pre-test or not to pre-
  205. test.
  206.  
  207.  
  208.  
  209. INSTALLATION
  210. ------------
  211.  
  212. There are five basic steps to installing ZDCS to work with the bbs:
  213.  
  214. 1.   Setting up the configuration file.
  215. 2.   Creating the initial database.
  216. 3.   Creating the bbs ads database (optional).
  217. 4.   Creating the list of allowed duplicates (optional).
  218. 5.   Setting up the check for uploaded duplicates.
  219.  
  220. None of the steps is at all difficult.  We'll cover them one by one.
  221.  
  222.  
  223.  
  224. STEP 1 - Set up the config file
  225. -------------------------------
  226.  
  227. The first step in the installation is to create the ZDCS.CFG file for
  228. your configuration.  This is a flat ASCII text file containing eight
  229. short lines.  A sample configuration file is included in this package,
  230. so you might want to look at that.  It takes more time to describe the
  231. file than it does to write one from scratch.
  232.  
  233. Put the finished configuration file into the same directory that
  234. contains the executable ZDCS files, unless you're running DOS 2.x.  If
  235. that's the case, either upgrade to at least DOS 3.x or go to the ZDCS
  236. reference manual ZDCS-REF.TXT and read the answer there.
  237.  
  238.  
  239. Line 1
  240. ------
  241.  
  242. This line is the complete drive, path and filename of an ASCII text
  243. file.  This is a file that you create listing all the pathnames, one
  244. on each line, that contain the zipfiles / GIFs to be included in the
  245. database.  To process a new collection of files into the ZDCS
  246. database, like those on a CD-ROM, just change either this line or the
  247. contents of the file it points to.
  248.  
  249. There is no upper limit on the number of pathnames that can be
  250. processed.  But make sure that you've included the trailing backslash
  251. for each pathname.
  252.  
  253.  
  254. Line 2
  255. ------
  256.  
  257. This line is the drive and pathname where you want the finished ZDCS
  258. database to be located.  It makes no difference if you include the
  259. trailing backslash here or not.
  260.  
  261.  
  262. Line 3
  263. ------
  264.  
  265. This line is either the letter "Y" or the letter "N".  It controls
  266. whether you want ZDCS to delete all duplicate files from an upload (Y)
  267. or just flag them and leave them intact (N).
  268.  
  269.  
  270. Line 4
  271. ------
  272.  
  273. This line is an integer - that's a whole number, no decimals - between
  274. 0 and 100.  It sets the maximum percentage of dupes that your bbs will
  275. accept in an upload.
  276.  
  277. ZDCS will calculate the actual percentage of duplicates in the upload
  278. and compare it to your maximum percentage.  If the actual percentage
  279. is lower, the upload is accepted.  If the actual percentage is equal
  280. to or higher than the maximum you specified, the upload is declined.
  281. (The PCBoard code takes care of moving these declined files into your
  282. private upload directory, where you can review them.)  Setting the
  283. percentage to 100 effectively bypasses this filter, since it permits a
  284. duplicated GIF or a zipfile with nothing but duplicates to pass.  At
  285. the other extreme, setting the percentage to 0 effectively requires
  286. that the uploaded GIFs and zipfiles have no duplicates at all.
  287.  
  288.  
  289. Line 5
  290. ------
  291.  
  292. This line is the complete drive, path and filename you want ZDCS to
  293. use for the log file created by the upload file checker ZDCSFC.  Here
  294. is where you'll find the messages telling you which files are
  295. duplicates, bbs ads, allowed duplicates, or absolutely new and fresh.
  296.  
  297.  
  298. Line 6
  299. ------
  300.  
  301. This line is either the letter "Y" or the letter "N".  It controls the
  302. switch to tell ZDCS whether to delete bbs ads (Y) in an uploaded
  303. zipfile or to just flag them (N).  If you've decided not to enable any
  304. checking for bbs ads at all, just set this to N.
  305.  
  306.  
  307. Line 7
  308. ------
  309.  
  310. This line is where you can express from 1 to 72 characters' worth of
  311. creativity.  Whatever text you write here will be displayed to the
  312. caller who has just uploaded a file that ZDCS has declined.  A boring
  313. but informative possibility is (without the quotes) "Too many
  314. duplicate files - upload must be reviewed by sysop."  If you don't
  315. want to display any message to the caller, you can place one or more
  316. blank spaces on this line.  Just don't leave the line completely
  317. blank!  The PCBoard @codes are supported here.
  318.  
  319.  
  320. Line 8
  321. ------
  322.  
  323. This line consists of the single letter "Y" or "N".  It controls
  324. whether ZDCS displays the one line "registered to" message after the
  325. board receives an upload (Y) or turns off the display of this message
  326. (N).  Either way, the caller still sees the file by file breakdown of
  327. the upload and the status (duplicate, bbs ads, etc.) of each file.
  328.  
  329. This line is only recognized by the registered version of ZDCS.  It
  330. has no effect on the three line message displayed by the unregistered
  331. version.  It is also the only line of the configuration file that you
  332. can forget to include without causing major problems.  If the line is
  333. missing, ZDCS defaults to (Y) and displays the message.
  334.  
  335.  
  336.  
  337. STEP 2 - Create the initial database
  338. ------------------------------------
  339.  
  340. The next step after creating the configuration file is to create the
  341. initial database of CRC32 values.  To do this, you simply run the
  342. database build program ZDCSDB.EXE.   Assuming that you have created
  343. the configuration file properly, there is nothing more to be done
  344. until this program finishes processing the files.
  345.  
  346. While ZDCSDB is running, the display points out that you may press the
  347. F10 key at any time to abort.  This is the only safe way to abort the
  348. database build!  Ignore this warning and the chances are good that you
  349. will be rewarded with lost and/or cross-linked clusters on your hard
  350. disk.  (This has been an official warning.)
  351.  
  352. There will also be other useful and esoteric bits of information on
  353. the screen, but you can read more about those in the reference manual
  354. ZDCS-REF.TXT.  The one that will probably interest you the most is on
  355. the very last line.  The end time appears here after the database
  356. build is complete.
  357.  
  358. Usually you will be using ZDCSDB on a collection of files that have
  359. already passed a file integrity checker.  If for some reason this is
  360. not the case, you can still use ZDCSDB on those files by making use of
  361. the T (for Test) switch.  This slows the processing down tremendously.
  362. It's really a better solution to use a file integrity checker to
  363. handle this duty, but ZDCSDB T is a workable alternative if you need
  364. it.
  365.  
  366. What happens when you use the "T"?  ZDCS sends out to PKZIP to come in
  367. and test each zipfile.  Any one that is damaged is marked and not
  368. processed by the database builder.  GIF files are passed over by
  369. PKZIP, so they receive no file integrity checking at all.  The GIFs
  370. are still processed by ZDCS to add them to the database.
  371.  
  372. There is a log file called ZDCS-DBB.LOG created by the database build
  373. operation.  This is where you would find messages about corrupt
  374. zipfiles ZDCS encounters while trying to build the database, for
  375. example.  If you have any problems while running ZDCSDB, look in this
  376. log file for help in understanding what happened.
  377.  
  378. It is entirely likely that when you first create the initial database
  379. you will already have some duplicate files in your collection of
  380. zipfiles and GIFs.  To find out about them, use the database report
  381. generator ZDCSDR to generate a flat ASCII text file called ZDCS-
  382. DUP.LST.  This will create the list of all duplicate files in the
  383. database, including the name and CRC32 of the duplicated file and the
  384. identity with full drive and pathname of the zipfile or GIF containing
  385. the dupe.  The format of the ZDCS-DUP.LST file is the standard comma-
  386. separated variable to make it easy to import this file into a database
  387. or parse it into a .BAT file.
  388.  
  389. When you run ZDCSDR, it asks you whether you want the results sorted
  390. by the CRC32, the individual file name, or the name of the zipfile or
  391. GIF containing the dupe.  This sort is called the Wichita sort for
  392. very obscure historical reasons.  (The culprits know who they are.)
  393.  
  394. Note that no duplicate files are deleted by ZDCSDR when you create the
  395. initial database.  The list of duplicates, ZDCS-DUP.LST, can be used
  396. by the sysop to remove any duplicate files in the system.
  397.  
  398. After the sysop has cleaned up the file system and removed any
  399. duplicate files, it is possible to purge duplicate entries from the
  400. CRC32 database in order to reduce its size.  This is covered in the
  401. reference manual ZDCS-REF.TXT.
  402.  
  403.  
  404.  
  405. STEP 3 - Create the bbs ads database
  406. ------------------------------------
  407.  
  408. This step is optional.  You need it only if you want to flag and/or
  409. delete bbs ads from uploaded zipfiles.  If you want to complete the
  410. basic installation and do this step at a later date, that's fine too.
  411.  
  412. ZDCS doesn't quite have the intelligence to recognize a bbs ad unless
  413. you tell it which files to look for.  To do this, you have to create
  414. the bbs ads database.  This consists of a single file, ZDCS-BBA,NDX,
  415. which will be located in the same directory as the rest of the ZDCS
  416. files.
  417.  
  418. The easiest way to do this is to first collect all those nasty ads
  419. together and zip them up into one zipfile.  Use whatever name you like
  420. for the ZIP;  this example is going to call it BBS-ADS.ZIP.  Then run
  421. the program ZDCSBA.EXE from the directory containing all the ZDCS
  422. files.  The syntax (7% in NJ) is:
  423.  
  424.                ZDCSBA BBS-ADS.ZIP
  425.  
  426. (If you have used a different name for your ZIP collection of bbs ads,
  427. just use that name in place of BBS-ADS.ZIP.)  The program will create
  428. the database files and you will be ready to flag or delete all that
  429. free advertising.  Whether or not you delete the bbs ads is controlled
  430. by line 6 of the configuration file.  You did read the section on
  431. setting up the configuration file, right?
  432.  
  433. If you want to create a new bbs ads database in the future, just
  434. delete the old database file (ZDCS-BBA.NDX) and follow these same
  435. steps to create the new one.  If you don't delete the old database,
  436. then the new ads will be added to the old ones in the database, which
  437. is an easy way to add new bbs ads.
  438.  
  439. To make it even easier to include single ads as they come on the
  440. market, you can also run this program on an individual bbs ad, whether
  441. it is zipped or unzipped.  So, if a new bbs ad named HAPPY.BBS shows
  442. up, you can issue the command:
  443.  
  444.                ZDCSBA HAPPY.BBS
  445.  
  446. This will add HAPPY.BBS directly to the bbs ads database.
  447.  
  448. You can even include a bbs ad in this database without having the
  449. original file on hand.  All you need is the CRC32 value for the bbs
  450. ad.  In the command above, you would replace HAPPY.BBS with a dollar
  451. sign $ followed immediately by the eight character CRC32 value.
  452.  
  453.  
  454.  
  455. STEP 4 - Create the list of allowed duplicates
  456. ----------------------------------------------
  457.  
  458. This step is also optional.  You need to do this only if you want ZDCS
  459. to recognize certain files as allowed duplicates.
  460.  
  461. Whether or not this option is enabled is controlled by the presence or
  462. absence of an ASCII text file called ZDCS.ADN in the ZDCS directory on
  463. your system.  This file is one that you create with any text editor to
  464. list all the files, one per line, that are allowed duplicates.  You
  465. can designate an allowed duplicate by either its file name or its
  466. CRC32.
  467.  
  468. To specify an allowed duplicate by name, just type the dollar sign $
  469. followed immediately by the name of the file with its extension.  This
  470. preserves a file with a distinctive name (like OMBUDSMN.ASP) even if
  471. it undergoes some revisions.
  472.  
  473. To specify an allowed file by its CRC32 value, type the pound sign #
  474. followed by the CRC32 for the file.  If you don't know the CRC32
  475. offhand, you can get this information from PKZIP.  Issuing the PKZIP -
  476. V command on any zipfile gives you the CRC32 values for each
  477. individual file inside the zipfile.
  478.  
  479. The ZDCS.ADN file may be up to 256 lines long, but must contain no
  480. blank lines and no blank spaces.
  481.  
  482.  
  483.  
  484. STEP 5 - Set up the upload file check
  485. -------------------------------------
  486.  
  487. Almost done!  Now that you have created the ZDCS duplicate file
  488. database, all you need to do is get the bbs to check all uploaded
  489. zipfiles and GIFs from now on.  This will be done by processing the
  490. uploaded zipfiles and GIFs with the upload file checker ZDCSFC as the
  491. files are received.
  492.  
  493. ZDCSFC.EXE is the real-time upload file checker.  If the uploaded file
  494. was a GIF, it first calculates the CRC32 for it.  Then ZDCSFC compares
  495. the CRC32 of the uploaded zipfile or GIF against the ZDCS database and
  496. the bbs ads database (if you've created the bbs ads database, that
  497. is).  The results of this comparison are displayed file by file for
  498. the caller and logged into the ZDCSFC log file.  (Remember back on
  499. line 5 of the configuration file, when you specified the pathname and
  500. filename for this log?)
  501.  
  502. ZDCSFC calculates the actual percentage of duplicate files in the
  503. upload.  Since a GIF is a single file, it will either be 0% (not a
  504. dupe) or 100% (a dupe).  For zipfiles, this actual percentage can vary
  505. anywhere between 0 and 100.  ZDCSFC compares this actual percentage
  506. against the maximum percentage you set in line 4 of the configuration
  507. file.  (Boy, that configuration file is a handly little thing.)
  508.  
  509. If the actual percentage is lower than the maximum, the upload is
  510. accepted.   If the actual percentage is equal to or higher than the
  511. maximum you specified, the upload is declined.  The file is never lost
  512. or dumped!  PCBoard moves these declined files into your private
  513. upload directory, where you can review them.
  514.  
  515. If you want to bypass this filter, set the percentage to 100.  This
  516. permits a duplicated GIF or a zipfile with nothing but duplicates to
  517. pass the filter and never be declined.  At the other extreme, you can
  518. set the percentage to 0.  This effectively requires that the uploaded
  519. GIFs and zipfiles have no duplicates at all, or they will be declined.
  520.  
  521. ZDCSFC also updates the duplicate files database with the CRC32s of
  522. all uploads.  You do not have to do anything special to include this
  523. information in the database for comparisons with future uploads.
  524. ZDCSFC does not modify the bbs ads database at all.  It's still not
  525. smart enough to recognize a bbs ad until you've pointed it out first -
  526. but it does remember them next time it sees them.
  527.  
  528. To process the new uploads with ZDCSFC, it must be called by the
  529. PCBTEST.BAT file of PCBoard or by your file integrity checker.
  530.  
  531. We are actively pursuing discussions with makers of file integrity
  532. checkers to provide a seamless integration with ZDCS.  EXZTEST already
  533. has such a feature in version 2.x, which calls ZDCSFC directly and
  534. feeds it the necessary information to process uploads.
  535.  
  536. To understand how to call ZDCSFC with the older (1.x) and newer (2.x)
  537. versions of EXZTEST, take a look at the sample files PCBTEST.BAT and
  538. PCBTEST.ALT, respectively.  They are included in this package.  For
  539. more information on the integration available in EXZTEST 2.x, please
  540. see the documentation for EXZTEST.
  541.  
  542. To use ZDCS with the file integrity checker of your choice (even if
  543. it's just PKZIP -T), there are a couple of things you need to include
  544. in the PCBTEST.BAT file.
  545.  
  546. First, it's highly recommended that you include the following three
  547. lines to clean out old copies of these files left over from processing
  548. other uploads:
  549.  
  550.                @IF EXIST PCBFAIL.TXT DEL PCBFAIL.TXT
  551.                @IF EXIST PCBPASS.TXT DEL PCBPASS.TXT
  552.                @IF EXIST ZDCS-DEL.LST DEL ZDCS-DEL.LST
  553.  
  554. Second, call your integrity file checker to process the upload.  (Your
  555. syntax may vary.)
  556.  
  557. Third, call ZDCSFC to check the upload.  The appropriate command is:
  558.  
  559.                ZDCSFC %1 %2 %3
  560.  
  561. If you are running a version of PCBoard older than the May 22, 1991
  562. version 14.5A, PCBoard will provide only two parameters.  Since the
  563. third one is needed for pre-testing, that means you must disable the
  564. pre-testing feature.  Even if you don't want to use the pre-testing
  565. right now, it is still strongly recommended that you leave the third
  566. parameter in place.  It does no harm and could save you some grief if
  567. you change your mind in the future. Other than that, ZDCS should be OK
  568. on those older versions.
  569.  
  570. At the end of processing by ZDCSFC, you either have a new file called
  571. ZDCS-DEL.LST or you don't.  This file contains the list of individual
  572. files within an uploaded zipfile that are targeted for deletion.  If
  573. you haven't enabled any deletion of either duplicate files or bbs ads,
  574. this file won't be created.  Even if you have enabled one or both of
  575. these deletions, the file still won't be created unless the upload
  576. that was just processed had something to be deleted.
  577.  
  578. Fourth, skip to the end if there are no files to be deleted:
  579.  
  580.                IF NOT EXIST ZDCS-DEL.LST GOTO END
  581.  
  582. Fifth, perform the deletion of files specified by ZDCSFC:
  583.  
  584.                PKZIP -D %1 @ZDCS-DEL.LST
  585.  
  586. Note that the actual deletion is done by PKZIP.  This is also the only
  587. time an existing AV stamp on an upload is affected by ZDCS.
  588.  
  589. Sixth, don't forget to include the end:
  590.  
  591.                :END
  592.  
  593. This concludes our tour of PCBTEST.BAT.
  594.  
  595. In addition to creating the required PCBPASS.TXT and PCBFAIL.TXT
  596. files, ZDCSFC also sets the DOS error level when it exits.  These
  597. levels are explained in the reference manual ZDCS-REF.TXT.
  598.  
  599.  
  600.  
  601. PRE-TESTING
  602. -----------
  603.  
  604. Callers have been enthusiastic about duplicate checking on a bbs file
  605. system - until they discover that the huge file they've just finished
  606. sending your bbs at 2400 baud is a set of complete duplicates.  Many
  607. of them asked for a way to pre-test an upload before actually
  608. transmitting the entire file.  ZDCS gives them this capability without
  609. requiring any ongoing handholding, explanations or help from the
  610. sysop.
  611.  
  612. Pre-testing is most valuable when it's simple enough that callers
  613. actually use it.  ZDCS pre-testing requires nothing that might tax a
  614. relatively novice uploader's skills.  There are no special files to
  615. download, no complicated operations to get right, no arcane rituals to
  616. perform.  All that your callers need is PKZIP and enough skill to
  617. upload a file.
  618.  
  619. There are four simple things for you to do so that ZDCS pre-testing
  620. runs smoothly on your bbs.
  621.  
  622. 1. Make sure that your board code is no earlier than PCBoard version
  623.    14.5A from May 22, 1991.  This and all subsequent versions of
  624.    PCBoard support ZDCS pre-testing.
  625.  
  626. 2. Confirm that the PCBTEST.BAT file contains the following line:
  627.  
  628.                   ZDCSFC %1 %2 %3
  629.  
  630.    You already set up the PCBTEST.BAT file as part of the ZDCS
  631.    installation.  Just check it one more time, OK?  If you've
  632.    inadvertently left out the third parameter, the pre-test will work
  633.    just fine for the first caller and will barf all over subsequent
  634.    callers, who will come complaining to you that their ZDCSTEST.CHK
  635.    is being called a duplicate!
  636.  
  637. 3. Make sure that *.CHK files may be uploaded to your bbs.  This is
  638.    done via the UPSEC file, part of PCBoard.  If you don't permit
  639.    callers to upload files with the .CHK extension, you've
  640.    effectively prevented them from using the pre-test feature.
  641.  
  642. 4. When you're ready, post the sample bulletin included in this
  643.    release of ZDCS to explain to callers what the pre-test feature is
  644.    all about.  The bulletin holds your callers' hands through the
  645.    whole process, which should take some of the load off you.  If
  646.    your bbs permits the uploading of SFX or GIF files, you might want
  647.    to add those initials where you see ZIP in the bulletin.  A ZIP-
  648.    only bbs can use the canned bulletin right from the package.
  649.  
  650. If you track your callers' uploads and downloads, you might like to
  651. know that the ZDCSTEST.CHK will not count as an upload.  The bulletin
  652. mentions this little fact just in case some of your callers are a bit
  653. *too* enthusiastic about collecting upload credits.
  654.  
  655.  
  656.  
  657. THAT'S ALL, FOLKS!
  658. ------------------
  659.  
  660. That's all there is to it, and there ain't no more.  ZDCS is fully
  661. installed on your system.  If you want to fiddle with the options, go
  662. right ahead.  Most of them can be turned on or off with no more than a
  663. line change in the configuration file.
  664.  
  665. If you have more questions or are just curious about parts of ZDCS,
  666. take a look at the reference manual ZDCS-REF.TXT.  It has more
  667. excruciating and technical details than this walk-through does.
  668.  
  669. You will also find information about registration (ZDCS is reasonably
  670. priced shareware - $25.00), support, access to free utilities and
  671. accessories and a host of other goodies in the reference manual - even
  672. how to reach us with comments and suggestions.
  673.